package org.shoukaiseki.supersaiyan.enums;


import org.shoukaiseki.kakaroto.Interface.DictTypeEnumData;
import org.shoukaiseki.kakaroto.annotation.DictTypeEnum;
import org.shoukaiseki.kakaroto.entity.BaseDictEnum;
import org.shoukaiseki.kakaroto.enums.DictDataCssClass;

@DictTypeEnum(dictType = "sysUser_userType",dictName = "用户类型",remark = "位标识")
public enum SysUserUserType implements DictTypeEnumData {

    none(new BaseDictEnum()
            .setValue(0)
            .setLabel("无效")
            .setCssClass(DictDataCssClass.DEFAULT)
            .setRemark("无效的类型")),
    system(new BaseDictEnum()
            .setValue(1)
            .setLabel("系统用户")
            .setCssClass(DictDataCssClass.dictTextTagDanger)
            .setRemark("登录后台")),
    common(new BaseDictEnum()
            .setValue(2)
            .setLabel("普通用户")
            .setCssClass(DictDataCssClass.dictTextTagSuccess)
            .setRemark("")),
    ;

    private BaseDictEnum dictEnum;

    private SysUserUserType(BaseDictEnum dictEnum) {
        this.dictEnum=dictEnum;
    }


    @Override
    public BaseDictEnum getDictEnum() {
        return dictEnum;
    }


}
